package com.miaoxun.service.msg.queue;

import com.miaoxun.common.log.LogHelper;
import com.miaoxun.common.sendmsg.QueueMsg;

public class DelayOrderWorker implements Runnable {
    private QueueMsg queueMsg;

    public DelayOrderWorker(QueueMsg queueMsg) {
        this.queueMsg = queueMsg;
    }

    public QueueMsg getQueueMsg() {

        return queueMsg;
    }

    public void setQueueMsg(QueueMsg queueMsg) {
        this.queueMsg = queueMsg;
    }

    @Override
    public void run() {
        LogHelper.INFO(queueMsg.toString());
    }
}
